<?php
$this->load->helper('form');
$attributes = array('onsubmit' => 'userSearchRequest(); return false;');
echo form_open('#',$attributes);
?>
<table>
	<tr>
		<td class='form-field'> <strong> User :</strong></td>
		<td><?php
		$data = array (
			'name' => 'nickname',
			'id' => 'nickname',
			'maxlength' => '30',
			'size' => '30'
		);
		echo form_input($data);
		?>
		</td>
		<td class='form-field'>
		<?php echo form_submit('submit', 'Search');?>
		</td>
	</tr>
</table>
<br />
<br />
<div id="search-results"></div>

<?php
echo form_close('');
?>
